#ifndef _DGT_LISTCTRL_H
#define _DGT_LISTCTRL_H


#include "wx/listctrl.h"
#include <wx/wx.h>


//Class, generated from wxListCtrl with functions appending new line, setting text or long to cell
class dgt_ListCtrl : public wxListCtrl
{
public:
	dgt_ListCtrl (void);
	dgt_ListCtrl (wxWindow *parent,
		wxWindowID id,
		const wxPoint& pos = wxDefaultPosition,
		const wxSize& size = wxDefaultSize,
		long style = wxLC_ICON,
		const wxValidator& validator = wxDefaultValidator,
		const wxString& name = wxListCtrlNameStr );
	~dgt_ListCtrl();
		
public:
	// Functions for change values in list ctrl	
		void		NewLine( void* inData );
		void		SetText( long column, const wxString& text,long index = -1 );
		void		SetLong( long column, long num, long index = -1 );
//DECLARE_EVENT_TABLE()
};
#endif